package com;

public class TestPet {
    public static void main(String[] args) {
        //狗类的对象及相关方法（测试数据信息自定义）
        Dog dog=new Dog();
        dog.setAge(7);
        dog.setGender("雄性");
        dog.setStrain("拉布拉多");
        dog.setName("妞妞");
        dog.run();
    }
}
